package dsk.demo.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import dsk.demo.common.utils.PageUtils;
import dsk.demo.product.dto.CustomerQueryDto;
import dsk.demo.product.dto.ProductQueryDto;
import dsk.demo.product.entity.CustomerEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface CustomerService extends IService<CustomerEntity> {
    PageUtils queryPage(CustomerQueryDto dto);

    List<CustomerEntity> excel2CustomerEntityList(MultipartFile file) throws Exception;

    void insertBatch(List<CustomerEntity> customerEntities);
}
